package com.artPreter.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 艺术机构-艺术家关系表
 * </p>
 *
 * @author jarvis
 * @since 2024-11-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("jv_artist_relative")
public class ArtistRelative implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 机构id
     */
    @TableField("depart_id")
    private String departId;

    /**
     * 艺术家id
     */
    @TableField("artist_id")
    private String artistId;

    /**
     * 0：机构申请中  1:已绑定  2:已解除关系
     */
    @TableField("status")
    private Integer status;

    /**
     * 艺术家名称
     */
    @TableField("artist_name")
    private String artistName;

    /**
     * 机构名称
     */
    @TableField(exist = false)
    private String departName;

    @TableField(exist = false)
    private Integer aid;



}
